package cn.wenhaha.app.mapping.bean.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * --------
 *
 * @author ：wyndem
 * @Date ：Created in 2022-09-19 20:52
 */
@Data
public class MappingContext {

    @NotNull(message = "映射1不能为空")
    @Valid
    private List<MappingObj> source1;
    @NotNull(message = "映射2不能为空")
    @Valid
    private List<MappingObj> source2;
}
